package com.goushu.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface NewsMapper {

    @Select("select * from carousel")
    List<Map<String, String>> getCarousel();

    @Select("select * from book_express")
    List<Map<String, String>> getExpress();
}
